sql replace value in column based on condition

welcome to shbcf.ru